package com.lx.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class mysyslog {
    //    {
//        date: "张三",
//                name: "2020-10-01 10:00:00",
//            action: "登录",
//            status: "成功"
//    }
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String date;
    private String name;
    private String action;
    private String status;

    public mysyslog(String time, String username, String action, String status) {
        this.date = time;
        this.name = username;
        this.action = action;
        this.status = status;
    }
}
